package com.lcy.springtest;

import com.lcy.springtest.conf.AwareConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author lichenyang
 * @create 2021-04-19 9:50 下午
 */
public class AwareMainTest {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AwareConfig.class);
        System.out.println("spring创建的 applicationContext:" + applicationContext);
    }
}

